import static java.lang.Integer.*;
import static java.lang.Long.*;

public class StartClass {
    public static void main(String[] args) {
    	int[] array1 = {1, 2};
    	for (long x : array1) { // compilation successfully
    	    System.out.println(x);
    	}

    	long[] array2 = {3, 4};
    	for (int x : array2) { // compilation failes: 'possible loss of precision'
    	    System.out.println(x);
    	}    }
}